package com.lglbc.provider;

import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 乐哥聊编程
 * @Doc 关注公众号"乐哥聊编程"获取文档和源码
 * @Date 2023/5/21
 * @Description
 */
@RestController
public class IndexController {
    @GetMapping("/hello/{name}")
    public String hello(@PathVariable String name){
        return "hello:"+name+",我是provider";
    }
}
